package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class TransformGroupCharacteristicSubtype2 implements TransformGroupCharacteristic {

    private int beginIndex;
    private int endIndex;
    private SchemaQualifiedName pathResolvedUserDefinedTypeName;
    private ValueSpecification valueSpecification;

    public TransformGroupCharacteristicSubtype2(int beginIndex,
                                                SchemaQualifiedName pathResolvedUserDefinedTypeName,
                                                ValueSpecification valueSpecification) {
        this.beginIndex = beginIndex;
        this.endIndex = valueSpecification.getEndIndex();
        this.pathResolvedUserDefinedTypeName = pathResolvedUserDefinedTypeName;
        this.valueSpecification = valueSpecification;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public SchemaQualifiedName getPathResolvedUserDefinedTypeName() {
        return pathResolvedUserDefinedTypeName;
    }

    public ValueSpecification getValueSpecification() {
        return valueSpecification;
    }

}
